<include file="Public:pagerForm" />

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<ul class="searchContent">
            <li>
                <label>工单状态：</label>
                <select  name="status">
                    <volist name="map_status_list" id="map_status">
                        <if condition="$key eq $_SESSION['Qusetiondel_status']"><option value="{$key}" selected>
                            <else/>
                            <option value="{$key}" ></if>{$map_status}</option>
                    </volist>
                </select>
            </li>
			<li>
				<label>单号：</label>
				<input type="text" name="number" class="medium" >
			</li>
            <li>
                <label>收件人信息：</label>
                <input type="text" name="address" class="medium" >
            </li>

		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
            <if condition="$_SESSION['role_id'] gt 2">
			<li><a class="delete" href="__URL__/foreverdelete/id/{sid_node}/navTabId/__MODULE__" target="ajaxTodo" calback="navTabAjaxMenu" title="你确定要删除吗？" warn="请选择"><span>删除</span></a></li>
                <else/>
            </if>
                <li><span>当前页面查询状态：{$map_status_list[$_SESSION['Qusetiondel_status']]}工单</span></li>
        </ul>
	</div>


	<table class="table" width="100%" layoutH="138">
		<thead>
		<tr>
            <th width="10"></th>
			<th width="30">编号</th>
			<th width="70">小包单号</th>
			<th width="100">收件人基本信息</th>
			<th width="60">商品种类</th>
			<th width="50">原因</th>
			<th width="85">提交日期</th>
            <th width="85">接单时间</th>
            <th width="80">发单人</th>
            <th width="40">角色</th>
			<th width="40">城市</th>
			<th width="40">状态</th>
			<th width="60">接手人</th>
            <th width="60"></th>

		</tr>
		</thead>
		<tbody>
		<volist id="vo" name="list">
			<tr target="sid_node" rel="{$vo['id']}">
				<td>{$key+1}</td>
				<td>{$vo['id']}</td>
				<td><a href="__URL__/read/pid/{$vo['id']}/pnumber/{$vo['number']}" target="dialog" rel="单号：{$vo['number']}" width="850" height="600">{$vo['number']}</a></td>
				<td>{$vo['address']}</td>
                <td>{$vo['type']}</td>
                <td>{$reason_list[$vo['reason']]}</td>
                <td>{$vo.create_time|date="Y-m-d H:i",###}</td>
				<td>{$vo.take_time|date="Y-m-d H:i",###}</td>
                <td>{$vo['postname']}</td>
                <td>{$jiaose_list[$vo['postrole']]}</td>
                <td>{$city_list[$vo['postcity']]}</td>
                <td>{$status_list[$vo['status']]}</td>
                <td>{$vo.takename}</td>
                <td><a href="__URL__/read/pid/{$vo['id']}/pnumber/{$vo['number']}" target="dialog" rel="单号：{$vo['number']}" width="850" height="600">查看</a></td>
            </tr>
		</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span> <span>每页20条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="5" currentPage="{$currentPage}"></div>
	</div>
</div>

